<template>
  <!-- <tree>
    <template #name>应用研发平台</template>
    <tree>
      <template #name>应用研发平台</template>
      <tree>
        <template #name>应用研发平台</template>
      </tree>
    </tree>
  </tree> -->
  <tree :data="treeData"></tree>
</template>

<script lang="ts" setup>
import { reactive } from "vue";
import Tree from "@/components/Tree/index.vue";
const treeData = reactive({
  name: "应用研发平台",
  id: 0,
  type: null,
  children: [
    {
      name: "应用分组1",
      id: 1,
    },
    {
      name: "应用分组2",
      id: 2,
    },
  ],
});
</script>
